package router

import (
	"github.com/gin-gonic/gin"
	"report/api"
)

func Routers(r *gin.Engine) {
	route := new(api.Api)
	//初始化路由
	Router := r.Group("/api")
	{
		Router.GET("getOpenid", route.GetOpenid)
		Router.GET("activate", route.Activate)
		Router.GET("event", route.Event)
	}
}
